﻿using System;
using System.Collections.Generic;
using System.Text;
using BusinessObjectHelper;

namespace Dzzzr
{
	public class CarInfo
	{
		private int id;
		private string name;
		private string description; 
		private int teamID; 
		private int entityTypeID;
		private string entityType;
		private int maxSendingPause;
		private string model;
		private string registrationNumber;
		private string color;

		[DataMapping(-1)]
		public int ID
		{
			get { return id; }
			set { id = value; }
		}

		[DataMapping("")]
		public string Name
		{
			get { return name; }
			set { name = value; }
		}

		[DataMapping("")]
		public string Description
		{
			get { return description; }
			set { description = value; }
		}

		[DataMapping(-1)]
		public int TeamID
		{
			get { return teamID; }
			set { teamID = value; }
		}

		[DataMapping(-1)]
		public int EntityTypeID
		{
			get { return entityTypeID; }
			set { entityTypeID = value; }
		}

		[DataMapping("")]
		public string EntityType
		{
			get { return entityType; }
			set { entityType = value; }
		}

		[DataMapping(-1)]
		public int MaxSendingPause
		{
			get { return maxSendingPause; }
			set { maxSendingPause = value; }
		}

		[DataMapping("")]
		public string Model
		{
			get { return model; }
			set { model = value; }
		}

		[DataMapping("")]
		public string RegistrationNumber
		{
			get { return registrationNumber; }
			set { registrationNumber = value; }
		}

		[DataMapping("")]
		public string Color
		{
			get { return color; }
			set { color = value; }
		}
	}
}
